/*总体设置*/
.main-wrapper {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 100vh;
    padding-top: 15vh;
    margin-bottom: 15vh;
}

.content-wrapper {
    margin-top: 10vh;
    display: grid;
    max-width: 1186px;
    grid-template-columns: 8fr 2fr;
    height: 100%;
    gap: 5vw;
    justify-content: center;
}

.title {
    font-weight: 900;
    font-size: 2em;
    line-height: 1.5em;
    color: #233a57;
}

.content-wrapper .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-nav ul.side-menu {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.side-nav ul.side-menu li.post-item a{
   color: #283d57;
}

.content .title {
    margin-bottom: 12px;
}

.content .data {
    color: #006dfe;
    margin-top: 12px;
    margin-bottom: 15px;
}

.content .tags {
    margin-top: 15px;
    margin-bottom: 24px;
}

.post-content {
    width: 70vw;
    line-height: 1.8em;
    color: #283d57;
}

.page-button {
    margin-top: 55px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2vw;
}

.page-button div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    height: 60px;
    border: none;
    outline: none;
    color: #fff;
    font-weight: 500;
}

.page-button div.prev {
    align-items: start;
    background: linear-gradient(
            90deg, #20b7d9 11.3%, #006dfe 161.54%);
    box-shadow: 0 0 32px rgba(0 105 165 0.35);
}

.page-button div.next {
    align-items: end;
    background: linear-gradient(90deg, #006dfe 11.3%, #20b7d9 161.54%);
    box-shadow: 0 0 32px rgba(0 105 165 0.35);
}

.page-button div a {
    color: #fff;
    font-weight: 600;
}

.side-menu p.title {
    font-size: 16px;
}

.side-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-menu li {
    margin-top: 1vh;
}

.side-menu li.active {
    color: #fff;
}

ul.post-build {
    margin-top: 2vh;
}

ul.post-build.fixed {
    position: fixed;
    top: 80px;
}

@media screen and (max-width: 990px) {
    .side-nav {
        display: none;
    }
    .content-wrapper{
        grid-auto-columns: 1fr;
    }
}